package com.tarena.lbs.activity.service;


import com.tarena.lbs.activity.pojo.param.ActivityAddParam;
import com.tarena.lbs.activity.pojo.query.ActivityQuery;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;
import com.tarena.lbs.base.protocol.exception.BusinessException;

import java.text.ParseException;
import java.util.List;

public interface ActivityService {

    List<ActivityVO> pageList(ActivityQuery query) throws BusinessException;

    ActivityVO activityDetail(Integer id) throws BusinessException;

    void activityDelete(Integer id) throws BusinessException;

    void activitySave(ActivityAddParam param) throws BusinessException, ParseException;
}
